package com.ujoin.bean;

import java.sql.Time;
import java.sql.Timestamp;
import java.util.Date;

/**
 * Activity entity. @author MyEclipse Persistence Tools
 */

public class Activity implements java.io.Serializable {

	// Fields

	private Integer activityId;
	private String title;
	private String datetimeScript;
	private String city;
	private String district;
	private String place;
	private String cost;
	private String firstType;
	private String secondType;
	private Integer interestNum;
	private Integer participantNum;
	private String detail;
	private Timestamp deadline;
	private Date dateBegin;
	private Date dateEnd;
	private Time timeBegin;
	private Time timeEnd;
	private String summary;
	private Boolean isPrivate;
	private Integer userNum;
	private String status;
	private Integer releaserId;
	private Integer upNum;
	private String tag;
	private Timestamp created;
	private Boolean valid;

	// Constructors

	/** default constructor */
	public Activity() {
	}

	/** minimal constructor */
	public Activity(String title, String datetimeScript, String city,
			String district, String place, String cost, String firstType,
			Integer interestNum, Integer participantNum, String detail,
			Timestamp deadline, Boolean isPrivate, Integer userNum,
			String status, Integer upNum, Boolean valid) {
		this.title = title;
		this.datetimeScript = datetimeScript;
		this.city = city;
		this.district = district;
		this.place = place;
		this.cost = cost;
		this.firstType = firstType;
		this.interestNum = interestNum;
		this.participantNum = participantNum;
		this.detail = detail;
		this.deadline = deadline;
		this.isPrivate = isPrivate;
		this.userNum = userNum;
		this.status = status;
		this.upNum = upNum;
		this.valid = valid;
	}

	/** full constructor */
	public Activity(String title, String datetimeScript, String city,
			String district, String place, String cost, String firstType,
			String secondType, Integer interestNum, Integer participantNum,
			String detail, Timestamp deadline, Date dateBegin, Date dateEnd,
			Time timeBegin, Time timeEnd, String summary, Boolean isPrivate,
			Integer userNum, String status, Integer releaserId, Integer upNum,
			String tag, Timestamp created, Boolean valid) {
		this.title = title;
		this.datetimeScript = datetimeScript;
		this.city = city;
		this.district = district;
		this.place = place;
		this.cost = cost;
		this.firstType = firstType;
		this.secondType = secondType;
		this.interestNum = interestNum;
		this.participantNum = participantNum;
		this.detail = detail;
		this.deadline = deadline;
		this.dateBegin = dateBegin;
		this.dateEnd = dateEnd;
		this.timeBegin = timeBegin;
		this.timeEnd = timeEnd;
		this.summary = summary;
		this.isPrivate = isPrivate;
		this.userNum = userNum;
		this.status = status;
		this.releaserId = releaserId;
		this.upNum = upNum;
		this.tag = tag;
		this.created = created;
		this.valid = valid;
	}

	// Property accessors

	public Integer getActivityId() {
		return this.activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDatetimeScript() {
		return this.datetimeScript;
	}

	public void setDatetimeScript(String datetimeScript) {
		this.datetimeScript = datetimeScript;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return this.district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getPlace() {
		return this.place;
	}

	public void setPlace(String place) {
		this.place = place;
	}

	public String getCost() {
		return this.cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	public String getFirstType() {
		return this.firstType;
	}

	public void setFirstType(String firstType) {
		this.firstType = firstType;
	}

	public String getSecondType() {
		return this.secondType;
	}

	public void setSecondType(String secondType) {
		this.secondType = secondType;
	}

	public Integer getInterestNum() {
		return this.interestNum;
	}

	public void setInterestNum(Integer interestNum) {
		this.interestNum = interestNum;
	}

	public Integer getParticipantNum() {
		return this.participantNum;
	}

	public void setParticipantNum(Integer participantNum) {
		this.participantNum = participantNum;
	}

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public Timestamp getDeadline() {
		return this.deadline;
	}

	public void setDeadline(Timestamp deadline) {
		this.deadline = deadline;
	}

	public Date getDateBegin() {
		return this.dateBegin;
	}

	public void setDateBegin(Date dateBegin) {
		this.dateBegin = dateBegin;
	}

	public Date getDateEnd() {
		return this.dateEnd;
	}

	public void setDateEnd(Date dateEnd) {
		this.dateEnd = dateEnd;
	}

	public Time getTimeBegin() {
		return this.timeBegin;
	}

	public void setTimeBegin(Time timeBegin) {
		this.timeBegin = timeBegin;
	}

	public Time getTimeEnd() {
		return this.timeEnd;
	}

	public void setTimeEnd(Time timeEnd) {
		this.timeEnd = timeEnd;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public Boolean getIsPrivate() {
		return this.isPrivate;
	}

	public void setIsPrivate(Boolean isPrivate) {
		this.isPrivate = isPrivate;
	}

	public Integer getUserNum() {
		return this.userNum;
	}

	public void setUserNum(Integer userNum) {
		this.userNum = userNum;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Integer getReleaserId() {
		return this.releaserId;
	}

	public void setReleaserId(Integer releaserId) {
		this.releaserId = releaserId;
	}

	public Integer getUpNum() {
		return this.upNum;
	}

	public void setUpNum(Integer upNum) {
		this.upNum = upNum;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

	public Timestamp getCreated() {
		return this.created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public Boolean getValid() {
		return this.valid;
	}

	public void setValid(Boolean valid) {
		this.valid = valid;
	}

}